fix — Round towards zero


\begin{rail}
Fix : 'fix' '(' ( Scalar \vert Matrix ) ')' ;
\end{rail}
fix rounds the argument towards zero. If the argument is a matrix, this is performed element-by-element. $\Longrightarrow$ This is not an built-in function. This function is normally loaded on start-up from the fix.r file in the standard rlib directory. Use of the -r option, incorrectly setting the RLAB_LIB_DIR environmental variable, or modifying fix.r may make this function unavailable.

Subsections